home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 January / EnterCD 01_2004.iso / Multimedia / Advanced Effect Maker Freeware Edition 1.0 / aemf10.exe / {app} / templates / lasertitle.swf / scripts / frame_4 / DoAction.as
Encoding:
Text File  |  2002-11-13  |  958 b   |  40 lines

  1. debug = 0;
  2. if(0 < debug)
  3. {
  4.    movx = 550;
  5.    movy = 140;
  6.    nwaves = 1;
  7.    urls = "http://www.site1.com";
  8.    wcol = 16776960;
  9.    rcol = 16776960;
  10.    spd = 2;
  11.    x1 = 1;
  12.    y1 = 1;
  13.    tpause = 90;
  14. }
  15. else
  16. {
  17.    var movx = parseInt("300",10);
  18.    var movy = parseInt("40",10);
  19.    var urls = "http://www.effectmaker.com/clickpage.html";
  20.    var wcol = parseInt("65280",10);
  21.    var rcol = parseInt("65280",10);
  22.    var nwaves = parseInt("",10);
  23.    var spd = parseInt("2",10);
  24.    var target = "_blank";
  25.    var tpause = parseInt("60",10);
  26.    var x1 = parseInt("1",10);
  27.    var y1 = parseInt("1",10);
  28. }
  29. moviearea._x = 0;
  30. moviearea._width = movx;
  31. moviearea._y = 0;
  32. moviearea._height = movy;
  33. mo._x = (eval("/:movx") - mo._width) / 2;
  34. mo._y = (eval("/:movy") - mo._height) / 2;
  35. var today = new Date();
  36. if(!(today.getTime() < _root.ts && _root.ts < today.getTime() + 172800000 || _root.ts == -1 || 0 < debug))
  37. {
  38.    gotoAndStop("ea");
  39. }
  40.